import type { ValidationChecks } from "langium";
//import ValidationAcceptor
import type { SysYPlusAstType } from "./generated/ast.js";
import type { SysYPlusServices } from "./sys-y-plus-module.js";

/**
 * Register custom validation checks.
 */
export function registerValidationChecks(services: SysYPlusServices) {
  const registry = services.validation.ValidationRegistry;
  const validator = services.validation.SysYPlusValidator;
  const checks: ValidationChecks<SysYPlusAstType> = {};
  registry.register(checks, validator);
}

/**
 * Implementation of custom validations.
 */
export class SysYPlusValidator {}
